package com.lvmama.pangolin.mybatis.mapper.mt;

import com.lvmama.pangolin.entity.mt.MTTicket_CommodityDetail;
import com.lvmama.pangolin.entity.spider.TicketCommodity;

import java.util.List;
import java.util.Map;

public interface MTTicketCommodityDetailMapper {
    /**
     * @Title：TicketCommodityMapper.java
     * @Author:zhoutianqi
     * @Description:
     * @Date：2017年2月15日下午5:47:02
     */
    public List<MTTicket_CommodityDetail> getMTTicket_CommodityDetailListByID(Map<String, Object> map);

    public int insertCommodityDetailLog(MTTicket_CommodityDetail detail);

    public List<MTTicket_CommodityDetail> selectAllLog();

    public List<MTTicket_CommodityDetail> queryLogByMap(Map<String, Object> map);

    public int deleteLogByMap(Map<String, Object> map);

    public int updateLog(MTTicket_CommodityDetail detail);

    public int deleteLogByID(String detail_id);

    public int insert(TicketCommodity record);

    public int insertSelective(TicketCommodity record);

    public List<MTTicket_CommodityDetail> getMTTicket_CommodityDetailLogListByID(Map<String, Object> map);

    int deletePreviousData(int limit);

    public int deleteByTaskAndProd(TicketCommodity record);
}
